Skip to content

Conversation

@FrancoisPoinsot
Copy link
Contributor

the current implement override everything it does not expect in the input yaml.

  • remove existing volumes
  • remove every resource that is not the deployment

This PR fix those problems.

I tried to parse thing nicely using k8s lib but i did not managed to make sens of this.
So i opted for working on byte level for splitting and putting these bytes back into outputted files.

Also added the crudest unit test I have ever made for safety.

Feel free to bring suggestion to make it more beautiful.

@FrancoisPoinsot FrancoisPoinsot merged commit 27309bb into master Mar 5, 2019
@FrancoisPoinsot FrancoisPoinsot deleted the append-not-erase branch March 5, 2019 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants